package cn.wp.ewallet.wallet.dao;

import cn.wp.ewallet.wallet.model.entity.AccountLogDo;

import java.util.List;

/**
 * @ClassName AccountLogDao
 * @Author ruixule
 * @Description TODO
 * @Date 2020/1/7 16:53
 */
public interface AccountLogDao {
    /**
     * 保存账户变更记录
     * @param accountLog
     * @return
     */
    public int insertAccountLog(AccountLogDo accountLog );

    /**
     * 根据账户id查看账户变更日志
     * @param accountId
     * @return
     */

    AccountLogDo selectAccountLogByAccountId(String accountId);

    void update(AccountLogDo accountLogDo);

    /**
     * 保存转账记录
     * @param accountLogDo
     */

    void save(AccountLogDo accountLogDo);
}
